package cn.imnaer.database;

import org.bson.BSONObject;
import org.bson.BasicBSONObject;

public class BsonObjectBuilder {
	
	
	
	private BSONObject createBson(){
		
		return   new BasicBSONObject();
		
	}

	
	public BSONObject   addRule(String key,Object value){		
	BSONObject  bson=	this.createBson();
	bson.put(key, value);
	return  bson;
	}
}
